package cn.pluss.baselibrary.http.callback;


import java.util.ArrayList;

import cn.pluss.baselibrary.http.exception.ApiException;
import cn.pluss.baselibrary.model.net.ResultPageListBean;

public abstract interface HttpCallBack<T> {

    public abstract void onStart();

    public abstract void onCompleted();

    public abstract void onError(ApiException e);

    public abstract void onSuccess(T t);

    public abstract void onSuccess(ResultPageListBean<T> t);

    public abstract void onSuccess(ArrayList<T> list);
}
